extends Node

# battle
const BATTLE_SCENE_NAME = "BattleField"
const BATTLE_FIELD_UNIT = "BattleFieldUnit"
const BATTLE_01_LAMU_SENLIN = "lamusenlin"

# char name
const CHAR_YAMU = "yamu"
const CHAR_LUOBIN = "luobin"
const CHAR_LUKA = "luka"
const CHAR_GELEI = "gelei"
const CHAR_KELIFU = "kelifu"
const CHAR_SHANZEI = "shanzei"

# global
const BATTLE_CELL_SIZE = 16

# state BattleField
const STATE_BATTLEFIELD_FREESELECT = "FreeSelect"
const STATE_BATTLEFIELD_STATUS = "Status"
const STATE_BATTLEFIELD_READY = "Ready"
const STATE_BATTLEFIELD_MOVE = "Move"
const STATE_BATTLEFIELD_COMMAND = "Command"
const STATE_BATTLEFIELD_COMMANDMENU = "CommandMenu"
const STATE_BATTLEFIELD_SELECTTARGET = "SelectTarget"
const STATE_BATTLEFIELD_BATTLEANIM = "BattleAnim"

# state BattleFieldUnit
const STATE_BATTLEFIELD_UNIT_READY = "Ready"
const STATE_BATTLEFIELD_UNIT_IDLE = "Idle"
const STATE_BATTLEFIELD_UNIT_MOVE = "Move"

# weapon type
const WEAPON_TYPE_SWORD = "sword"
const WEAPON_TYPE_BOW = "bow"
const WEAPON_TYPE_SPELL = "spell"
const WEAPON_TYPE_SPEAR = "spear"
const WEAPON_TYPE_AXE = "axe"

# option name
const OPTION_ATTACK = "攻击"
const OPTION_WAIT = "待命"

# UI
const RESOURCE_1HP_BLOCK = "BattleAnim1HpBlock"
const RESOURCE_1HP_EMPTY_PLACEHOLDER = "BattleAnim1HpEmptyPlaceHolder"

# battle anim
const ANIM_COMMAND_CUTSCENE = "enterCutScene"
const ANIM_COMMAND_ATTACK = "attack"
const ANIM_COMMAND_FANJI = "fanji"
const ANIM_COMMAND_ZHUIJI = "zhuiji"
const ANIM_COMMAND_SUMMARY = "summary"
const ANIM_COMMAND_EXP = "exp"
const ANIM_COMMAND_WAIT = "wait"
